x86: miscellaneous mm.c cleanup
authorJan Beulich <jbeulich@suse.com>
Thu, 2 May 2013 15:05:05 +0000 (17:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 2 May 2013 15:05:05 +0000 (17:05 +0200)
commitf2ddd529337792bcb61fad259da8982be570df4d
tree6e5627dab5941e4301bcdff9794096493874c992
parentb965b31a6bce8c37e67e525fae6da0e2f26d6b2e
x86: miscellaneous mm.c cleanup

This simply streamlines code in a few places, where room for
improvement was noticed during the earlier here and the patches in
the XSA-45 series.

This also drops the bogus use of the domain lock in the CR3 write
emulation (which protected against nothing).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm.c
xen/arch/x86/traps.c
xen/include/asm-x86/config.h